﻿@model ContentItemDetailsViewModel<Article>
@section PageTitle { | Model.ContentItem.Title }
@section Head {
	@Html.CSS("content.css")
}
<div id="content-div">
	<div class="content-title">
		<div class="icon-image">
			@Html.Image("icons/article_45.png", "Article")
		</div>
		<h1>@Model.ContentItem.Title</h1>
	</div>
	
	<div class="content-div clearfix">
		@if (Model.ContentItem.PageContent.IsNullOrEmpty()) { @Model.ContentItem.Description.ToHtml() }
		else { @Model.ContentItem.PageContent.ToHtml() }
	</div>

	<br />
	@Html.Partial("DetailsInfo", Model)
</div>
<div id="aside-div">
	@Html.DisplayFor(m => m.RelatedContent, "SimpleContentList")
</div>